package class2334;

public class example01 {
    public static void main(String[] args) {
        student student = new student();
        student.name = "张三";
        student.age= 16;
        System.out.print("我叫" + student.name + "，我今年" + student.age + "岁。");
        student.eat();
        student.sleep();
        student.study();

        teacher teacher1 = new teacher();
        teacher1.name = "李四";
        teacher1.age = 30;
        teacher1.eat();
        teacher1.sleep();
        teacher1.teach();
    }
}
